package com.kgc.pojo;

import java.util.Date;

public class EbookEntry {
    private Integer id;

    private Integer categoryId;

    private String itle;

    private String summary;

    private String uploaduser;

    private Date createdate;

    private EbookCategory ebookCategory;


    @Override
    public String toString() {
        return "EbookEntry{" +
                "id=" + id +
                ", categoryId=" + categoryId +
                ", itle='" + itle + '\'' +
                ", summary='" + summary + '\'' +
                ", uploaduser='" + uploaduser + '\'' +
                ", createdate=" + createdate +
                ", ebookCategory=" + ebookCategory +
                '}';
    }

    public EbookCategory getEbookCategory() {
        return ebookCategory;
    }

    public void setEbookCategory(EbookCategory ebookCategory) {
        this.ebookCategory = ebookCategory;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getItle() {
        return itle;
    }

    public void setItle(String itle) {
        this.itle = itle == null ? null : itle.trim();
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary == null ? null : summary.trim();
    }

    public String getUploaduser() {
        return uploaduser;
    }

    public void setUploaduser(String uploaduser) {
        this.uploaduser = uploaduser == null ? null : uploaduser.trim();
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }
}